package plus.easydo.xxl.job.config;

/**
 * 调度类型
 * @author laoyu
 * @version 1.0
 */
public enum ScheduleTypeEnum {

    /**无*/
    NONE("NONE", "无"),
    /**CRON*/
    CRON("CRON", "CRON"),
    /**固定速度*/
    FIX_RATE("FIX_RATE", "固定速度");

    private final String type;
    private final String desc;

    ScheduleTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
